package com.hqyj.controller;


import com.hqyj.pojo.CustomerHotel;
import com.hqyj.pojo.Menu;
import com.hqyj.service.CustomerHotelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;

/**
 * <p>
 * 点菜菜单表 前端控制器
 * </p>
 *
 * @author rock
 * @since 2021-10-26
 */
@RestController
@RequestMapping("/customer-hotel")
public class CustomerHotelController {
    @Autowired
    CustomerHotelService customerHotelService;

    //修改
    @RequestMapping("/update")
    public HashMap<String,Object> update(CustomerHotel ch){
        return customerHotelService.update(ch);
    }
}

